package com.member.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.member.shop.domain.SysBizGoodsSku;
import com.member.shop.domain.SysBizRecommendCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 推荐分类Mapper接口
 *
 * @author lixinchen
 * @date 2025-01-08
 */
public interface SysBizRecommendCategoryMapper extends BaseMapper<SysBizRecommendCategory> {
    /**
     * 查询推荐分类
     *
     * @param id 推荐分类主键
     * @return 推荐分类
     */
    public SysBizRecommendCategory selectSysBizRecommendCategoryById(Long id);

    /**
     * 查询推荐分类列表
     *
     * @param sysBizRecommendCategory 推荐分类
     * @return 推荐分类集合
     */
    public List<SysBizRecommendCategory> selectSysBizRecommendCategoryList(SysBizRecommendCategory sysBizRecommendCategory);

    /**
     * 新增推荐分类
     *
     * @param sysBizRecommendCategory 推荐分类
     * @return 结果
     */
    public int insertSysBizRecommendCategory(SysBizRecommendCategory sysBizRecommendCategory);

    /**
     * 修改推荐分类
     *
     * @param sysBizRecommendCategory 推荐分类
     * @return 结果
     */
    public int updateSysBizRecommendCategory(SysBizRecommendCategory sysBizRecommendCategory);

    /**
     * 删除推荐分类
     *
     * @param id 推荐分类主键
     * @return 结果
     */
    public int deleteSysBizRecommendCategoryById(Long id);

    /**
     * 批量删除推荐分类
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBizRecommendCategoryByIds(Long[] ids);

    List<SysBizGoodsSku> listGoodsBind(Long id);
}